/**  
* @description
* @author  wangshiwei  
* @date   2018年6月22日    
*/  
package com.oren.Bean;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**  
* @description 封装请求信息
* @author  wangshiwei  
* @date   2018年6月22日 下午2:13:20
    
*/
public class WswRequest {
	
	//请求方法
	private String requestMethod;
	
	//请求路径
	private String requestPath;

	/**
	 * @param requestMethod
	 * @param requestPath
	 */
	public WswRequest(String requestMethod, String requestPath) {
		this.requestMethod = requestMethod;
		this.requestPath = requestPath;
	}

	public String getRequestMethod() {
		return requestMethod;
	}

	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}

	public String getRequestPath() {
		return requestPath;
	}

	public void setRequestPath(String requestPath) {
		this.requestPath = requestPath;
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public boolean equals(Object obj) {
		return EqualsBuilder.reflectionEquals(this,obj);
	}
	
	
	
}


